package com.example.shop_2208.mvvm

import androidx.lifecycle.ViewModel
import com.example.shop_2208.net.ApiServer
import com.example.shop_2208.net.RetrofitUtils

/**
 * base层---viewmodel---应该为开放类，方便其他viewModel继承
 */
open class BaseViewModel:ViewModel() {
     val apiServer = RetrofitUtils.getRetrofit().create(ApiServer::class.java)
}